<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>Class interval_bounds</title>
<link rel="stylesheet" href="../../../../../../doc/src/boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.74.0">
<link rel="home" href="../../index.html" title="Chapter&#160;1.&#160;Boost.Icl">
<link rel="up" href="../../header/boost/icl/interval_bounds_hpp.html" title="Header &lt;boost/icl/interval_bounds.hpp&gt;">
<link rel="prev" href="../../header/boost/icl/interval_bounds_hpp.html" title="Header &lt;boost/icl/interval_bounds.hpp&gt;">
<link rel="next" href="bounded_value.html" title="Class template bounded_value">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table cellpadding="2" width="100%"><tr>
<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../../../boost.png"></td>
<td align="center"><a href="../../../../../../index.html">Home</a></td>
<td align="center"><a href="../../../../../libraries.htm">Libraries</a></td>
<td align="center"><a href="http://www.boost.org/users/people.html">People</a></td>
<td align="center"><a href="http://www.boost.org/users/faq.html">FAQ</a></td>
<td align="center"><a href="../../../../../../more/index.htm">More</a></td>
</tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="../../header/boost/icl/interval_bounds_hpp.html"><img src="../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../../header/boost/icl/interval_bounds_hpp.html"><img src="../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="bounded_value.html"><img src="../../../../../../doc/src/images/next.png" alt="Next"></a>
</div>
<div class="refentry" lang="en">
<a name="boost.icl.interval_bounds"></a><div class="titlepage"></div>
<div class="refnamediv">
<h2><span class="refentrytitle">Class interval_bounds</span></h2>
<p>boost::icl::interval_bounds</p>
</div>
<h2 xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" class="refsynopsisdiv-title">Synopsis</h2>
<div xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" class="refsynopsisdiv"><pre class="synopsis"><span class="comment">// In header: &lt;<a class="link" href="../../header/boost/icl/interval_bounds_hpp.html" title="Header &lt;boost/icl/interval_bounds.hpp&gt;">boost/icl/interval_bounds.hpp</a>&gt;

</span>
<span class="keyword">class</span> <a class="link" href="interval_bounds.html" title="Class interval_bounds">interval_bounds</a> <span class="special">{</span>
<span class="keyword">public</span><span class="special">:</span>
  <span class="comment">// <a class="link" href="interval_bounds.html#boost.icl.interval_boundsconstruct-copy-destruct">construct/copy/destruct</a></span>
  <a class="link" href="interval_bounds.html#id654818-bb"><span class="identifier">interval_bounds</span></a><span class="special">(</span><span class="special">)</span><span class="special">;</span>
  <span class="keyword">explicit</span> <a class="link" href="interval_bounds.html#id654819-bb"><span class="identifier">interval_bounds</span></a><span class="special">(</span><span class="identifier">bound_type</span><span class="special">)</span><span class="special">;</span>

  <span class="comment">// <a class="link" href="interval_bounds.html#id654561-bb">public member functions</a></span>
   <a class="link" href="interval_bounds.html#id654563-bb"><span class="identifier">BOOST_STATIC_CONSTANT</span></a><span class="special">(</span><span class="identifier">bound_type</span><span class="special">,</span> <span class="identifier">static_open</span> <span class="special">=</span> <span class="number">0</span><span class="special">)</span><span class="special">;</span>
   <a class="link" href="interval_bounds.html#id654580-bb"><span class="identifier">BOOST_STATIC_CONSTANT</span></a><span class="special">(</span><span class="identifier">bound_type</span><span class="special">,</span> <span class="identifier">static_left_open</span> <span class="special">=</span> <span class="number">1</span><span class="special">)</span><span class="special">;</span>
   <a class="link" href="interval_bounds.html#id654597-bb"><span class="identifier">BOOST_STATIC_CONSTANT</span></a><span class="special">(</span><span class="identifier">bound_type</span><span class="special">,</span> <span class="identifier">static_right_open</span> <span class="special">=</span> <span class="number">2</span><span class="special">)</span><span class="special">;</span>
   <a class="link" href="interval_bounds.html#id654614-bb"><span class="identifier">BOOST_STATIC_CONSTANT</span></a><span class="special">(</span><span class="identifier">bound_type</span><span class="special">,</span> <span class="identifier">static_closed</span> <span class="special">=</span> <span class="number">3</span><span class="special">)</span><span class="special">;</span>
   <a class="link" href="interval_bounds.html#id654630-bb"><span class="identifier">BOOST_STATIC_CONSTANT</span></a><span class="special">(</span><span class="identifier">bound_type</span><span class="special">,</span> <span class="identifier">dynamic</span> <span class="special">=</span> <span class="number">4</span><span class="special">)</span><span class="special">;</span>
   <a class="link" href="interval_bounds.html#id654647-bb"><span class="identifier">BOOST_STATIC_CONSTANT</span></a><span class="special">(</span><span class="identifier">bound_type</span><span class="special">,</span> <span class="identifier">undefined</span> <span class="special">=</span> <span class="number">5</span><span class="special">)</span><span class="special">;</span>
   <a class="link" href="interval_bounds.html#id654664-bb"><span class="identifier">BOOST_STATIC_CONSTANT</span></a><span class="special">(</span><span class="identifier">bound_type</span><span class="special">,</span> <span class="identifier">_open</span> <span class="special">=</span> <span class="number">0</span><span class="special">)</span><span class="special">;</span>
   <a class="link" href="interval_bounds.html#id654681-bb"><span class="identifier">BOOST_STATIC_CONSTANT</span></a><span class="special">(</span><span class="identifier">bound_type</span><span class="special">,</span> <span class="identifier">_left_open</span> <span class="special">=</span> <span class="number">1</span><span class="special">)</span><span class="special">;</span>
   <a class="link" href="interval_bounds.html#id654698-bb"><span class="identifier">BOOST_STATIC_CONSTANT</span></a><span class="special">(</span><span class="identifier">bound_type</span><span class="special">,</span> <span class="identifier">_right_open</span> <span class="special">=</span> <span class="number">2</span><span class="special">)</span><span class="special">;</span>
   <a class="link" href="interval_bounds.html#id654714-bb"><span class="identifier">BOOST_STATIC_CONSTANT</span></a><span class="special">(</span><span class="identifier">bound_type</span><span class="special">,</span> <span class="identifier">_closed</span> <span class="special">=</span> <span class="number">3</span><span class="special">)</span><span class="special">;</span>
   <a class="link" href="interval_bounds.html#id654731-bb"><span class="identifier">BOOST_STATIC_CONSTANT</span></a><span class="special">(</span><span class="identifier">bound_type</span><span class="special">,</span> <span class="identifier">_right</span> <span class="special">=</span> <span class="number">1</span><span class="special">)</span><span class="special">;</span>
   <a class="link" href="interval_bounds.html#id654748-bb"><span class="identifier">BOOST_STATIC_CONSTANT</span></a><span class="special">(</span><span class="identifier">bound_type</span><span class="special">,</span> <span class="identifier">_left</span> <span class="special">=</span> <span class="number">2</span><span class="special">)</span><span class="special">;</span>
   <a class="link" href="interval_bounds.html#id654765-bb"><span class="identifier">BOOST_STATIC_CONSTANT</span></a><span class="special">(</span><span class="identifier">bound_type</span><span class="special">,</span> <span class="identifier">_all</span> <span class="special">=</span> <span class="number">3</span><span class="special">)</span><span class="special">;</span>
  <span class="identifier">interval_bounds</span> <a class="link" href="interval_bounds.html#id654782-bb"><span class="identifier">all</span></a><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span>
  <span class="identifier">interval_bounds</span> <a class="link" href="interval_bounds.html#id654788-bb"><span class="identifier">left</span></a><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span>
  <span class="identifier">interval_bounds</span> <a class="link" href="interval_bounds.html#id654794-bb"><span class="identifier">right</span></a><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span>
  <span class="identifier">interval_bounds</span> <a class="link" href="interval_bounds.html#id654800-bb"><span class="identifier">reverse_left</span></a><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span>
  <span class="identifier">interval_bounds</span> <a class="link" href="interval_bounds.html#id654806-bb"><span class="identifier">reverse_right</span></a><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span>
  <span class="identifier">bound_type</span> <a class="link" href="interval_bounds.html#id654812-bb"><span class="identifier">bits</span></a><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span>

  <span class="comment">// <a class="link" href="interval_bounds.html#id654826-bb">public static functions</a></span>
  <span class="keyword">static</span> <span class="identifier">interval_bounds</span> <a class="link" href="interval_bounds.html#id654828-bb"><span class="identifier">open</span></a><span class="special">(</span><span class="special">)</span><span class="special">;</span>
  <span class="keyword">static</span> <span class="identifier">interval_bounds</span> <a class="link" href="interval_bounds.html#id654834-bb"><span class="identifier">left_open</span></a><span class="special">(</span><span class="special">)</span><span class="special">;</span>
  <span class="keyword">static</span> <span class="identifier">interval_bounds</span> <a class="link" href="interval_bounds.html#id654840-bb"><span class="identifier">right_open</span></a><span class="special">(</span><span class="special">)</span><span class="special">;</span>
  <span class="keyword">static</span> <span class="identifier">interval_bounds</span> <a class="link" href="interval_bounds.html#id654846-bb"><span class="identifier">closed</span></a><span class="special">(</span><span class="special">)</span><span class="special">;</span>

  <span class="comment">// public data members</span>
  <span class="identifier">bound_type</span> <span class="identifier">_bits</span><span class="special">;</span>
<span class="special">}</span><span class="special">;</span></pre></div>
<div class="refsect1" lang="en">
<a name="id1277768"></a><h2>Description</h2>
<div class="refsect2" lang="en">
<a name="id1277772"></a><h3>
<a name="boost.icl.interval_boundsconstruct-copy-destruct"></a><code class="computeroutput">interval_bounds</code> 
        public
       construct/copy/destruct</h3>
<div class="orderedlist"><ol type="1">
<li><pre class="literallayout"><a name="id654818-bb"></a><span class="identifier">interval_bounds</span><span class="special">(</span><span class="special">)</span><span class="special">;</span></pre></li>
<li><pre class="literallayout"><span class="keyword">explicit</span> <a name="id654819-bb"></a><span class="identifier">interval_bounds</span><span class="special">(</span><span class="identifier">bound_type</span> bounds<span class="special">)</span><span class="special">;</span></pre></li>
</ol></div>
</div>
<div class="refsect2" lang="en">
<a name="id1277840"></a><h3>
<a name="id654561-bb"></a><code class="computeroutput">interval_bounds</code> public member functions</h3>
<div class="orderedlist"><ol type="1">
<li><pre class="literallayout"> <a name="id654563-bb"></a><span class="identifier">BOOST_STATIC_CONSTANT</span><span class="special">(</span><span class="identifier">bound_type</span><span class="special">,</span> <span class="identifier">static_open</span> <span class="special">=</span> <span class="number">0</span><span class="special">)</span><span class="special">;</span></pre></li>
<li><pre class="literallayout"> <a name="id654580-bb"></a><span class="identifier">BOOST_STATIC_CONSTANT</span><span class="special">(</span><span class="identifier">bound_type</span><span class="special">,</span> <span class="identifier">static_left_open</span> <span class="special">=</span> <span class="number">1</span><span class="special">)</span><span class="special">;</span></pre></li>
<li><pre class="literallayout"> <a name="id654597-bb"></a><span class="identifier">BOOST_STATIC_CONSTANT</span><span class="special">(</span><span class="identifier">bound_type</span><span class="special">,</span> <span class="identifier">static_right_open</span> <span class="special">=</span> <span class="number">2</span><span class="special">)</span><span class="special">;</span></pre></li>
<li><pre class="literallayout"> <a name="id654614-bb"></a><span class="identifier">BOOST_STATIC_CONSTANT</span><span class="special">(</span><span class="identifier">bound_type</span><span class="special">,</span> <span class="identifier">static_closed</span> <span class="special">=</span> <span class="number">3</span><span class="special">)</span><span class="special">;</span></pre></li>
<li><pre class="literallayout"> <a name="id654630-bb"></a><span class="identifier">BOOST_STATIC_CONSTANT</span><span class="special">(</span><span class="identifier">bound_type</span><span class="special">,</span> <span class="identifier">dynamic</span> <span class="special">=</span> <span class="number">4</span><span class="special">)</span><span class="special">;</span></pre></li>
<li><pre class="literallayout"> <a name="id654647-bb"></a><span class="identifier">BOOST_STATIC_CONSTANT</span><span class="special">(</span><span class="identifier">bound_type</span><span class="special">,</span> <span class="identifier">undefined</span> <span class="special">=</span> <span class="number">5</span><span class="special">)</span><span class="special">;</span></pre></li>
<li><pre class="literallayout"> <a name="id654664-bb"></a><span class="identifier">BOOST_STATIC_CONSTANT</span><span class="special">(</span><span class="identifier">bound_type</span><span class="special">,</span> <span class="identifier">_open</span> <span class="special">=</span> <span class="number">0</span><span class="special">)</span><span class="special">;</span></pre></li>
<li><pre class="literallayout"> <a name="id654681-bb"></a><span class="identifier">BOOST_STATIC_CONSTANT</span><span class="special">(</span><span class="identifier">bound_type</span><span class="special">,</span> <span class="identifier">_left_open</span> <span class="special">=</span> <span class="number">1</span><span class="special">)</span><span class="special">;</span></pre></li>
<li><pre class="literallayout"> <a name="id654698-bb"></a><span class="identifier">BOOST_STATIC_CONSTANT</span><span class="special">(</span><span class="identifier">bound_type</span><span class="special">,</span> <span class="identifier">_right_open</span> <span class="special">=</span> <span class="number">2</span><span class="special">)</span><span class="special">;</span></pre></li>
<li><pre class="literallayout"> <a name="id654714-bb"></a><span class="identifier">BOOST_STATIC_CONSTANT</span><span class="special">(</span><span class="identifier">bound_type</span><span class="special">,</span> <span class="identifier">_closed</span> <span class="special">=</span> <span class="number">3</span><span class="special">)</span><span class="special">;</span></pre></li>
<li><pre class="literallayout"> <a name="id654731-bb"></a><span class="identifier">BOOST_STATIC_CONSTANT</span><span class="special">(</span><span class="identifier">bound_type</span><span class="special">,</span> <span class="identifier">_right</span> <span class="special">=</span> <span class="number">1</span><span class="special">)</span><span class="special">;</span></pre></li>
<li><pre class="literallayout"> <a name="id654748-bb"></a><span class="identifier">BOOST_STATIC_CONSTANT</span><span class="special">(</span><span class="identifier">bound_type</span><span class="special">,</span> <span class="identifier">_left</span> <span class="special">=</span> <span class="number">2</span><span class="special">)</span><span class="special">;</span></pre></li>
<li><pre class="literallayout"> <a name="id654765-bb"></a><span class="identifier">BOOST_STATIC_CONSTANT</span><span class="special">(</span><span class="identifier">bound_type</span><span class="special">,</span> <span class="identifier">_all</span> <span class="special">=</span> <span class="number">3</span><span class="special">)</span><span class="special">;</span></pre></li>
<li><pre class="literallayout"><span class="identifier">interval_bounds</span> <a name="id654782-bb"></a><span class="identifier">all</span><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span></pre></li>
<li><pre class="literallayout"><span class="identifier">interval_bounds</span> <a name="id654788-bb"></a><span class="identifier">left</span><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span></pre></li>
<li><pre class="literallayout"><span class="identifier">interval_bounds</span> <a name="id654794-bb"></a><span class="identifier">right</span><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span></pre></li>
<li><pre class="literallayout"><span class="identifier">interval_bounds</span> <a name="id654800-bb"></a><span class="identifier">reverse_left</span><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span></pre></li>
<li><pre class="literallayout"><span class="identifier">interval_bounds</span> <a name="id654806-bb"></a><span class="identifier">reverse_right</span><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span></pre></li>
<li><pre class="literallayout"><span class="identifier">bound_type</span> <a name="id654812-bb"></a><span class="identifier">bits</span><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span></pre></li>
</ol></div>
</div>
<div class="refsect2" lang="en">
<a name="id1279191"></a><h3>
<a name="id654826-bb"></a><code class="computeroutput">interval_bounds</code> public static functions</h3>
<div class="orderedlist"><ol type="1">
<li><pre class="literallayout"><span class="keyword">static</span> <span class="identifier">interval_bounds</span> <a name="id654828-bb"></a><span class="identifier">open</span><span class="special">(</span><span class="special">)</span><span class="special">;</span></pre></li>
<li><pre class="literallayout"><span class="keyword">static</span> <span class="identifier">interval_bounds</span> <a name="id654834-bb"></a><span class="identifier">left_open</span><span class="special">(</span><span class="special">)</span><span class="special">;</span></pre></li>
<li><pre class="literallayout"><span class="keyword">static</span> <span class="identifier">interval_bounds</span> <a name="id654840-bb"></a><span class="identifier">right_open</span><span class="special">(</span><span class="special">)</span><span class="special">;</span></pre></li>
<li><pre class="literallayout"><span class="keyword">static</span> <span class="identifier">interval_bounds</span> <a name="id654846-bb"></a><span class="identifier">closed</span><span class="special">(</span><span class="special">)</span><span class="special">;</span></pre></li>
</ol></div>
</div>
</div>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright &#169; 2007 -2010 Joachim Faulhaber<br>Copyright &#169; 1999 -2006 Cortex Software GmbH<p>
        Distributed under the Boost Software License, Version 1.0. (See accompanying
        file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)
      </p>
</div></td>
</tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="../../header/boost/icl/interval_bounds_hpp.html"><img src="../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../../header/boost/icl/interval_bounds_hpp.html"><img src="../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="bounded_value.html"><img src="../../../../../../doc/src/images/next.png" alt="Next"></a>
</div>
</body>
</html>
